2003-08-29 Matthias Clasen <maclas@gmx.de>
+ * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): Actually group the actions
+ together rather than putting each in its own group.
+
* gtk/gtkradioaction.c (create_menu_item): Set "draw_as_radio" on proxy menu items
for radio actions.
2003-08-29 Matthias Clasen <maclas@gmx.de>
+ * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): Actually group the actions
+ together rather than putting each in its own group.
+
* gtk/gtkradioaction.c (create_menu_item): Set "draw_as_radio" on proxy menu items
for radio actions.
2003-08-29 Matthias Clasen <maclas@gmx.de>
+ * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): Actually group the actions
+ together rather than putting each in its own group.
+
* gtk/gtkradioaction.c (create_menu_item): Set "draw_as_radio" on proxy menu items
for radio actions.
2003-08-29 Matthias Clasen <maclas@gmx.de>
+ * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): Actually group the actions
+ together rather than putting each in its own group.
+
* gtk/gtkradioaction.c (create_menu_item): Set "draw_as_radio" on proxy menu items
for radio actions.
2003-08-29 Matthias Clasen <maclas@gmx.de>
+ * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): Actually group the actions
+ together rather than putting each in its own group.
+
* gtk/gtkradioaction.c (create_menu_item): Set "draw_as_radio" on proxy menu items
for radio actions.
guint i;
GtkTranslateFunc translate_func;
gpointer translate_data;
+ GSList *group = NULL;
g_return_if_fail (GTK_IS_ACTION_GROUP (action_group));
on_change, user_data,
(GClosureNotify)destroy, 0);
}
- else
- {
- GSList *group = gtk_radio_action_get_group (GTK_RADIO_ACTION (action));
- gtk_radio_action_set_group (GTK_RADIO_ACTION (action), group);
- }
+ gtk_radio_action_set_group (GTK_RADIO_ACTION (action), group);
+ group = gtk_radio_action_get_group (GTK_RADIO_ACTION (action));
/* set the accel path for the menu item */
accel_path = g_strconcat ("<Actions>/", action_group->private_data->name, "/",